function c2b_pressGoBack()
{
    var hasPopup = false;
    try{
	    var divs = document.getElementsByClassName("pop");
	    for(var i = 0; i < divs.length; i++)
	    {
	        if(divs[i].style.display != "none")
	        {
	            divs[i].style.display = "none";
	            hasPopup = true;
	        }
	    }
    }catch(e)
    {
    }
    if(!hasPopup)
    {
        cmread.callBackClient('goBack', '{"close": true}', null);
    }
    else
    {
    	cmread.callBackClient('goBack', '{"close": false}', null);
    }
}
c2b_pressGoBack();